package com.gree.flowable.app.pojo.ex;

import com.gree.flowable.app.tools.constants.ExcutionType;
import org.flowable.bpmn.model.FlowElement;

public class FlowElementEx {
    private FlowElement flowElement;
    private String flowName;
    private String excutionType;
    public FlowElement getFlowElement() {
        return flowElement;
    }

    public void setFlowElement(FlowElement flowElement) {
        this.flowElement = flowElement;
    }

    public String getFlowName() {
        return flowName;
    }

    public void setFlowName(String flowName) {
        this.flowName = flowName;
    }

    public String getExcutionType() {
        return excutionType;
    }

    public void setExcutionType(String excutionType) {
        this.excutionType = excutionType;
    }

    public FlowElementEx(FlowElement flowElement, String flowName) {
        this.flowElement = flowElement;
        this.flowName = flowName;
        this.excutionType = ExcutionType.SINGLE;
    }

    public FlowElementEx(FlowElement flowElement, String flowName, String excutionType) {
        this.flowElement = flowElement;
        this.flowName = flowName;
        this.excutionType = excutionType;
    }
}
